﻿@* @model GameSchool.Models.Course *@
@model GameSchool.Models.Course

@{
    ViewBag.Title = "Create Course | GameSchool";
    Layout = "~/Views/Shared/_LayoutSupervisor.cshtml";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<div class="mainSectionStuff">
    <h2>Create Course</h2>
    <div class="createForm">
        @using (Html.BeginForm())
        {
            @Html.ValidationSummary(true)
                <div>
               <div class="tableSubtitle">Title:</div>
                @Html.TextAreaFor(Model => Model.title, new { rows = "1", cols = "50" })
                </div>
                <div>
                <div class="tableSubtitle">XP:</div>
                @Html.TextBoxFor(Model => Model.courseXP)
                </div>
                <div>
                <div class="tableSubtitle">Description:</div>
                @Html.TextAreaFor(Model => Model.description, new { rows = "10", cols = "50" })
                </div>
                <div>
                @* @foreach (var i in s)
                {
                    *@
                </div>
                <p>
                    <input type="submit" value="Save" />
                </p> 
        }
            
        </div>
 </div>    
      <div>
      </div>
